package com.springboot.yuangong.entity.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.springboot.yuangong.entity.Employees;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author author
 * @since 2024-04-01
 */
@Data
public class EmployeesVo extends Employees {

    /**
     * 姓名
     */
    private String name;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 账号类型
     */
    private String type;

    /**
     * 注册时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date ctime;

}
